package com.ybkj.o2o.zhuanche.mapper;

import com.ybkj.o2o.zhuanche.common.query.OrderRefuseQuery;
import com.ybkj.o2o.zhuanche.entity.OrderRefuse;
import com.ybkj.o2o.zhuanche.entity.OrderRefuseCriteria;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OrderRefuseMapper extends BaseMapper<OrderRefuse, OrderRefuseCriteria, Long> {
  Long countByExample(OrderRefuseCriteria example);

  int deleteByExample(OrderRefuseCriteria example);

  int deleteByPrimaryKey(Long id);

  int insert(OrderRefuse record);

  int insertSelective(OrderRefuse record);

  List<OrderRefuse> selectByExampleWithRowbounds(OrderRefuseCriteria example, RowBounds rowBounds);

  List<OrderRefuse> selectByExample(OrderRefuseCriteria example);

  OrderRefuse selectByPrimaryKey(Long id);

  int updateByExampleSelective(@Param("record") OrderRefuse record,
      @Param("example") OrderRefuseCriteria example);

  int updateByExample(@Param("record") OrderRefuse record,
      @Param("example") OrderRefuseCriteria example);

  int updateByPrimaryKeySelective(OrderRefuse record);

  int updateByPrimaryKey(OrderRefuse record);

  List<OrderRefuse> findByParam(OrderRefuseQuery orderRefuseQuery);

  long countByParam(OrderRefuseQuery orderRefuseQuery);
}
